package com.zhoujiang.chapter4.service.impl;

import com.zhoujiang.chapter4.service.HelloService;

public class HelloServiceImpl implements HelloService {
    @Override
    public void sayHello(String name) {
        if (null==name||name.equals("")){
            throw new RuntimeException("parameter is null");
        }
        System.out.println("hello "+name);
    }
}
